package holleworld;

import java.util.Scanner;

public class Code209 {
	public static void main(String[] args){
		Scanner input = new Scanner(System.in);
		String a = input.next();
		System.out.println(a.toCharArray()[0]+0);
		System.out.println(a.toCharArray()[1]+0);
		System.out.println(a.toCharArray()[2]+0);
		System.out.println(a.toCharArray()[3]+0);
		System.out.println(a.toCharArray()[4]+0);
		System.out.println(a.toCharArray()[5]+0);
			
	}

}
